וַיִּלָּ֣חֶם יוֹאָ֔ב בְּרַבַּ֖ת בְּנֵ֣י עַמּ֑וֹן וַיִּלְכֹּ֖ד אֶת־עִ֥יר הַמְּלוּכָֽה׃
Now Joab fought against Rabbah of the children of Ammon, and took the royal city.
Read midrashic interpretation of II Samuel 12:26: and classical rabbinic exegesis.